package blog.entity;

import lombok.Data;

import java.util.Date;

/**
 * 管理员信息实体类
 */
@Data
public class User {
    private Integer userId;
    private String userName;
    private String userPass;
    private String userNickname;
    private String userEmail;
    private String userUrl;
    // private String userAvatar; 这个字段不要了
    private String userLastLoginIp;
    private Date userRegisterTime;
    private Date userLastLoginTime;
    private Integer userStatus;
    private byte[] userPhoto;  //用户照片

    //文章数量（非数据库字段）
    private Integer articleCount;

}